home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
utils
/
ffind230.zip
/
FFIND.TXT
< prev
next >
Wrap
Text File
|
1980-01-11
|
6KB
|
113 lines
FastFind V2.30
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
package version 1.0
────────────────────┘
FastFind is program, which is able to search for files, search strings in
files, replace strings in files, execute commands on files (Can be used as
_very_ powerfull FOR command in batch files). On local drives, it uses fast
access (it tests, if it is possible, use /F- to force using dos) which
bypasses some parts of DOS and makes search even faster (about 2 times).
Text search can be case insensitive (/I+). However, case insensitive search
is alittle bit slower and text _replace_ is _always_ case sensitive. Replace
requires to be enough space for backup file (extension of ~ and last 2 chars
of extension).
FastFind uses technique of parameters written directly into .EXE file. That
is done for maximum speed and good flexibility. FastFind uses special 'disk'
*: which means all disks you specify by /Dx commands (specify all hard drives)
- so when you save /DCDEF into .EXE file, every time you specify *:*.txt it
will search C:,D:,E:,F: for .txt files. Run SParams.exe to insert/change
parameters within ffind.exe.
Few usefull batches
────────────────────┘
_Unpack.bat_ unpacks all compressed files in current directory. But first, it
creates separate directory for each packed file. Very usefull tool when you
bring set of packed files (downloaded from net) and want to examine them
quickly. _0zap.bat_ will delete any files with zero size if they matches
wildcard(s) you pass to it. Such files are often created as result of system
crash and usually are not neccessary. Example: 0zap *:*.* (deletes all such
files on all disks you specified in saved parameters). _Unix2dos.bat_ converts
specified file(s) from unix-like form (lines ended with #10), to dos-like form
(lines ended with #13#10). _Dos2unix.bat_ does reverse process. _DelTrash.bat_
searches for all files which look like trash (temporary, backup,... Then it
runs editor on this set of files, so you see name of every file to be deleted,
and can save it by deleting its line. You're expected to edit this file to fit
your own needs (for example you can specify directories where you don't want
DelTrash to delete files - type find /V "do\not\delete\here\" <%f% >%f%
), but please rename it to MyTrash.bat then.
Command line
─────────────┘
For command line help, start programm with /? as parameter.
FFIND [*:]path\[!]file [[!]file [...]] ["text" ["r.text"]] [[command]] [options]
You can use things like #13#10"Sample"#13#10 to insert unprintable
characters into search/replace string. This example will search single line
(not first, not last) containing only "Sample" in DOS text file.
FastFIND uses advanced wildcard matching:
* can be in middle of name indicating any number of characters
(*A*.* than means all files with 'A' in name)
more than one wildcard can be present on command line meaning "it matches,
if it matches first wildcard OR second wildcard OR third..."
! can be present before wildcard meaning "exclude such files"
(works as AND NOT)
/Ax[+|-] switch can be used to select files by attribute
x can be:
D .. Directory
A .. Archive
R .. Read - only
S .. System
H .. Hidden
/Ax .. don't care about attribute x
/Ax+ .. attribute x must be set
/Ax- .. attribute x must not be set
/S}x .. file must be bigger (or equal) than x bytes
/S{x .. file must be smaller (or equal) than x bytes
default is /AD-, these switches are ignored, if name does not contain
wildcards
Use following in [command]
%1-drive %2-path %3-name %4-extension %5-full path %6-directory
%DISK, %EXT, %PATH, %OPATH (path, no drive), %NAME, %FULLPATH, %HASH
(%HASH inserts "#" into command line, don't type # into command string)
Options:
/? help /I+ ignore case
/S- do not search subdirectories /C+ complete file info
/C- only file names /E+ only files NOT containing "text"
/B+ beep on end of every search /B- do not beep on end of long search
/Ynnn /Nnnn answer Yes/No on error nnn automaticaly
/K- do not check keyboard (default Ctrl=pause, Ctrl+Alt=break)
/F- use DOS for disk reads /T+ end after first matching file
/Dlist_of_drives search on specified drives when used *:
Example:
FFIND *:*.com *.exe !a*.* "Window" /DACDG [type %5]
Searches on disks A:,C:,D:,G: for files .com and .exe, that don't start with A
and that contains text "Window". Types every matching file.
══════════════════════════════════════════════════════════════════════════════
This is shareware, please register after 30 days or stop using it.
Registration is done by sending $10 (nebo 50Kc pro lidi z Ceske republiky) to
me (address is below), you'll get other programs from me, registered version,
and any support you'll need. My e-mail address is
machek@novell.karlin.mff.cuni.cz , use it when you 1) have some problems 2)
want to say "thanks" 3) want to send me money 4) have some suggestions. You
can get more info about me & my programs on
http://novell.karlin.mff.cuni.cz/~pmac5296/index.htm . What more do you need?
Pavel Machek
Volkova 1131
198 00 Praha 9 - Czech republic